<?php
abstract class Bliss_DataReport_Format_Abstract
{
	protected $value;
	protected $options;

	public function __construct($options=array())
	{
		$this->options	= new Zend_Config($options);
	}

	public function setValue($value)
	{
		$this->value = $value;
	}
	
	public function getValue()
	{
		return $this->format($this->value);
	}

	public function __toString()
	{
		return $this->getValue();
	}

	abstract protected function format($value);
}
?>